package com.bootdo.screen.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.screen.dao.PssourcelistDao;
import com.bootdo.screen.domain.PssourcelistDO;
import com.bootdo.screen.service.PssourcelistService;



@Service
public class PssourcelistServiceImpl implements PssourcelistService {
	@Autowired
	private PssourcelistDao pssourcelistDao;
	
	@Override
	public PssourcelistDO get(Integer id){
		return pssourcelistDao.get(id);
	}
	
	@Override
	public List<PssourcelistDO> list(Map<String, Object> map){
		return pssourcelistDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return pssourcelistDao.count(map);
	}
	
	@Override
	public int save(PssourcelistDO pssourcelist){
		return pssourcelistDao.save(pssourcelist);
	}
	
	@Override
	public int update(PssourcelistDO pssourcelist){
		return pssourcelistDao.update(pssourcelist);
	}
	
	@Override
	public int remove(Integer id){
		return pssourcelistDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return pssourcelistDao.batchRemove(ids);
	}

	@Override
	public int saveUpdate(PssourcelistDO pssourcelist){
		return pssourcelistDao.saveUpdate(pssourcelist);
	}
	
}
